import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Tag } from './entities/tag.entity';
import { ContentTagMapping } from './entities/content-tag-mapping.entity';
import { TagsService } from './tags.service';
import { TagsController } from './tags.controller';
import { ContentTagsController } from './content-tags.controller';

@Module({
  imports: [TypeOrmModule.forFeature([Tag, ContentTagMapping])],
  controllers: [TagsController, ContentTagsController],
  providers: [TagsService],
  exports: [TagsService],
})
export class TagsModule {}
